*********************************************************************

                         Gift Exchange 1.2
          Give Gifts, Trade Items, Or Even Steal From NPCs
                          (2006-09-27 CDC)

                              REQUIRES
                  The Elder Scrolls III: Morrowind
              the Bloodmoon Expansion (or GOTY edition)
     and FreshFish's Morrowind Script Extender v0.9.1 or higher

*********************************************************************

Using Morrowind Script Extender this plugin allows you to access the
inventory of random NPCs you meet in your travels.

For the altruists, feel free to give gifts to the strangers you meet.
For the pragmatists, talk Lord Fyr into trading for those pauldrons.
Silver-tongued? Talk the ladies or gentlemen out of their clothes.
Or just take up that life of petty banditry you've always wanted.

*********************************************************************

Talk to Sellus Gravius and he'll give you the topic "| gift" (from
his "welcome" topic, which you can use with every non-companion NPC 
in the game.

Giving gifts, if valuable enough, may raise the disposition of NPCs.
If you ask to trade and then take more than you give, they could get 
mad enough to report your actions as a crime instead.  In general, 
everything under the "Give me something" sub-topic will get you in 
trouble.  You might be able to get away with demanding a small gift 
from people who really like you, but they won't be happy about it.
And just because you demand something, doesn't mean you'll get it.
If you really want something, you'll be better off either making 
friends and trading or simply attacking and looting the corpse.

If NPCs really like you and are passive enough, they will willingly 
trade their clothes, armor, and weapons.  Raising their dispositions 
is easy, but you may need to give them gifts (either a few large 
ones, or many smaller ones) to reduce their aggressiveness towards 
you.  You'll find that most ordinary people will trade their clothes, 
armor, and weapons after about 6 small gift exchanges (each worth at 
least 24 drakes) or one larger exchange (worth about 900 drakes). 
Some are easier and some are harder.  In general, it's much harder 
to gain the trust of guards, merchants, and outlaws.

On a technical note, the inventory exchange box includes a Profit
field that starts with a value of 1,000,000.  You can see the total
value of your gifts or thefts in the changes to that value.  The
value starts that high because using 0 will trigger an inappropriate
mercenary dialog if you take items from the NPC.


*********************************************************************

INSTALLING THE PLUGIN

This is a simple plugin, so just put the ESP file in the Data Files 
folder and activate it with the Morrowind Launcher program.  Then you
will need to exit the Launcher and start the game from MWSE to play.

You WILL need to install and use a recent version (0.9.1 or higher)
of FreshFish's Morrowind Script Extender, MWSE.  Installation of the 
script extender is as simple as placing the MWSE.exe file into your 
Morrowind installation folder and running it to start the game.

If you are upgrading from 1.0 for an existing game, you can replace
that one with this one (but be sure to change the file timestamp so
that it loads in the same order as the earlier version if you have
other mods that load after that one.  Or more simply, you can load 
both with this one appearing later.


*********************************************************************

KNOWN LIMITATIONS AND INCOMPATIBILITIES

Bloodmoon and the Morrowind Script Extender are required.

Be careful taking special items from NPCs, you can break quests and
cause other serious problems.  Don't complain to me if you break a
quest mod be taking the reward or some other vital item too early.

Exchanging filled soul gems will empty them!

Using this to access Leveled List Items will cause serious problems.
Don't take any of those from merchants or other NPCs who might have
them unless you want a worthless item that could crash your game.

Siege at Firemoth gives Sellus Gravius an alternate greeting to
introduce that quest, so you may need to talk to him repeatedly
until the welcome topic eventually appears, or simply use a
"AddTopic welcome" command in the console to get it.

No other incompatibilities are known.

Note: A local short cdcCompanion variable will hide the topic.


*********************************************************************

CHANGELOG

1.1 - Fixed problem with gift values crashing the script.

1.2 - Fixed underflow problem that could make good friends combative.

*********************************************************************

CREDITS AND FEEDBACK

FreshFish makes all of this possible with the Script Extender.

Thanks to ninefold for finding the value bug in version 1.0 and 
giving good feedback so I could locate and fix the problem easily.

Thanks to Wodo for finding the data conversion problem in version 1.1.

These scripts are, for better or worse, all written by me.  You are 
free to use and modify them in any way that won't upset the kind 
folks at Bethesda.

Please post comments and complaints on the forums.

Charles Cooley
cdcooley@gte.net
cdcooley on the ES Forums